package com.dunshan.member.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author dunshan
 * @program: dunshan-pef
 * @description: 购物车feign
 * @date 2021-10-02 14:45:01
 */
@FeignClient("dunshan-cart")
public interface CartServiceFeignClient {

    @GetMapping("/cart/user/{id}")
    String openCartInfo(@PathVariable(value="id") Integer id);

    @GetMapping("/cart/admin")
    public Object selectInfo();
}
